<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Tests with YUI-Test</title>

<!-- Get the YUI retrieval URLs from http://developer.yahoo.com/yui/articles/hosting/?dom&event&logger&yuitest&MIN  -->
<link rel="stylesheet" type="text/css" href="../lib/yui/build/logger/assets/logger.css">
<link rel="stylesheet" type="text/css" href="../lib/yui/build/yuitest/assets/testlogger.css">

<script src="../lib/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script src="../lib/yui/build/logger/logger-min.js"></script>
<script src="../lib/yui/build/yuitest/yuitest-min.js"></script>

<script src="../lib/util.js"></script>
<script src="../model/application.js"></script>
<script src="../model/NumberRange.js"></script>
<script src="../model/ArithmeticProblemType.js"></script>
<script src="../model/ArithmeticProblem.js"></script>

<!-- Load Test Cases -->
<script src="../tests/testGenerateAdditionProblems.js"></script>
<script src="../tests/testGenerateSubtractionProblems.js"></script>
<script src="../tests/testGenerateMultiplicationProblems.js"></script>
<script src="../tests/testGenerateDivisionProblems.js"></script>

<!-- Run Test -->
<script>
//run 
YAHOO.util.Event.onDOMReady( function () {
  //create the logger
  var logger = new YAHOO.tool.TestLogger();
  //add the test suite to the runner's queue
  YAHOO.tool.TestRunner.add( testCaseAddition);
  YAHOO.tool.TestRunner.add( testCaseSubtraction);
  YAHOO.tool.TestRunner.add( testCaseMulitplication);
  YAHOO.tool.TestRunner.add( testCaseDivision);
  //run the tests
  YAHOO.tool.TestRunner.run();
});

</script>
</head>

<body>
<h1>YUI Test</h1>

<div id="testLogger"></div>


</body>
</html>